vsim -t us  Fietscomputer_lib.fietscomputer(struct) 

view wave
delete wave *


-- meten -----------------------------------------------------
-- add wave -unsigned u_0/u_0/u_0/*



-- berekenen -------------------------------------------------
--add wave -unsigned u_0/u_0/u_1/*



-- tonen -----------------------------------------------------
-- add wave -unsigned u_0/u_0/u_2/*


--add wave -unsigned u_0/u_0/u_2/u_0/*
--add wave -unsigned u_0/u_0/u_2/u_1/u_99/*

--add wave -unsigned u_0/u_0/u_2/u_1/x
--add wave -hex      u_0/u_0/u_2/u_1/bcd

--add wave -unsigned u_0/u_0/u_2/u_2/*

--add wave -unsigned u_0/u_0/u_2/u_2/HH/*

--add wave -asc db



-- besturen --------------------------------------------------
add wave u_0/u_0/u_3/u_5/*
add wave u_0/u_0/u_3/u_5/hh/*


force reed 1

--force reed 1, 0 1 ms,  1 5 ms  -rep  401900 us

force switch_l 0
force switch_m 1
force switch_r 1


force clk  0, 1 50 -rep 100
force rst  0, 1 10, 0 20
run 6 sec

--force switch_m 0, 1 1 sec
run 2 ms 





